package com.leanin.form.model;

import lombok.Data;

import java.time.LocalDate;

@Data
public class LeaninEduForm {

    private Long id; //主键

    private String formName;   //表单名称

    private String formTitle; //表单头

    private String formEnd; //表单结尾

    private Integer formSex; //表单适用性别  1 男 2 女

    private String formAge; //表单适用年龄 1: 0-6岁 2: 7-17 岁 3: 18-40 岁 4: 41-65岁 5: 66岁 以上 多个用逗号隔开

    private String formBmi; //表单适用BMI 1 偏瘦 2 正常 3 过重 4 肥胖

    private Integer formBelong; //表单归属 0 领翼 1 永康妇保

    private LocalDate formCreateTime; //表单创建时间

    private Integer downloadCount; //下载次数

    private String formContent; //表单内容

    public void setFormContent(String formContent) {
        this.formContent = formContent == null ? null : formContent.trim();
    }
}